[IA64] xen might misunderstand a normal page as I/O page
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Wed, 24 Jan 2007 19:21:37 +0000 (12:21 -0700)
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Wed, 24 Jan 2007 19:21:37 +0000 (12:21 -0700)
Hypervisor might misunderstand a normal page as I/O page
if a guest OS uses the ig field in the guest VHPT.

It seems to be harmless but slightly slow down.

Full description:
http://lists.xensource.com/archives/html/xen-ia64-devel/2007-01/msg00218.html

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen/arch/ia64/vmx/vtlb.c

index cb0181b9a0222cc9eb99ed125d2f5618726339cd..7ed628ba66db1a9548d15978a6b5b649bd495a5f 100644 (file)
@@ -248,6 +248,7 @@ u64 guest_vhpt_lookup(u64 iha, u64 *pte)
                   "tnat.nz p6,p7=r9;;"
                   "(p6) mov %0=1;"
                   "(p6) mov r9=r0;"
+                  "(p7) extr.u r9=r9,0,53;;"
                   "(p7) mov %0=r0;"
                   "(p7) st8 [%2]=r9;;"
                   "ssm psr.ic;;"